# !/usr/bin/env python3
# -*- coding: utf-8 -*-
# aim:    
# author: wangkaixuan
# email:  26554189525@qq.com 
# date:   2018/1/10

import socket
s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
for data in [b'wangkaixuan',b'chengangrong',b'longhao']:
    s.sendto(data,('127.0.0.1',9999))
    print(s.recv(1024))
s.close()